/**
 * RuleService.java
 */
package com.prs.crm.service.document.rule;

import java.io.File;
import java.util.Collection;
import java.util.List;

import com.prs.crm.domain.document.knowledge.Doc;
import com.prs.crm.domain.document.rule.Rule;
import com.prs.crm.service.BaseService;

/**
 * @author ZhuDongMei
 * @E-mail:1223984339@qq.com
 * @qq:1223984339
 * @version 创建时间：2011-3-16 上午11:12:28 简单说明
 */

public interface RuleService extends BaseService<Rule> {
	List<Rule> getAllRules();
	Collection<Rule> getRootRule();
    public Rule getRuleById(java.io.Serializable id);
    public void saveRules(Rule rule,File file,String fileName);
    public Collection<Rule> convertToRule(String ids);
    public int removeRule(Integer id);
}
